package com.example.demo.mode;

import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author pengyifeng
 * @version 5.0
 * @ClassName User.java
 * @Description TODO
 * @createTime 2021年01月26日 19:57:00
 */
@EqualsAndHashCode
public class User implements Serializable {
    private static final long serialVersionUID = 1L;

    private String name;
    private Address address;
    private Date birthDay;
    private Integer age;
    private List<Dog> dogs;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
